<?php
// +----------------------------------------------------------------------
// | HkCms
// +----------------------------------------------------------------------
// | Copyright (c) 2012-2019 http://www.hkcms.cn, All rights reserved.
// +----------------------------------------------------------------------
// | Author: 广州恒企教育科技有限公司 <admin@hkcms.cn>
// +----------------------------------------------------------------------

namespace app\content\validate;

use think\Validate;

class Page extends Validate
{
    protected $rule = [
        // 'catid' => 'require',
        'title' => 'require',
        'content' => 'require',
    ];

    protected $message  =   [
        // 'catid.require' => '栏目ID不能为空！',
        'title.require' => '标题不能为空！',
        'content.require'  => '内容不能为空！',
    ];

}